<?php

namespace App\Http\Controllers\Api;

use App\Repositories\Ota\Ctrip\Policy\Contracts\SpecialPolicyInterface;
use Curl\CurlService\CurlService;

class TestController
{
    public function test(SpecialPolicyInterface $specialPolicyInterface){

       /* $url37878 = 'https://m.ctrip.com/webapp/flight-promotion/api/eventSale/getData?_fxpcqlniredt=09031128118494816826&x-traceID=09031128118494816826-1718278923647-2008558';

        $param = '{"ids":"0_37878","tabSize":60,"head":{"cid":"09031128118494816826","ctok":"","cver":"1.0","lang":"01","sid":"8888","syscode":"09","auth":"","xsid":"","extension":[{"name":"transId","value":""},{"name":"activityChannel","value":"H5"}]}}';
        $res = CurlService::post($url37878,json_decode($param,true));*/

        //dd(utf8_decode(base64_decode('H4sIAAAAAAAAACVNuU7DQBCNERRAE1FBN2USWeuZ7OENVBAhUIyFxSGQKCLbWvCSFWsloUlNRQUFf8EP5O9wcPGkd828vS6OEHVZ0DOiEIh4sCXU4ccTrJNhl3McCtmYpFQDPN4ljZpQxepsnxiNJOOccZz41K%2Bsc3kkGULPZpV%2FMycwzu6h5XB9CxRP5ZTA2ZmBNC831mMfTuvamQdTJHYZKZSs%2BSqhl1zepVdh270w5cz3IfWFdSYieU5CZ8F8kNf1YunnJrR%2BQTFrTsOqeHkNNVP%2Fol0mYmq1vQk%2Bg53q3Tv7HRz9%2Ftx8BZ3OH2wbsDv9AAAA')));

        $res = $specialPolicyInterface->summary(['']);
        dd($res);

    }

}